# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=morxkeyfmt
pkgver=1.0
pkgrel=4
groups=('blackarch' 'blackarch-crypto')
pkgdesc='Read a private key from stdin and output formatted data values.'
url='http://www.morxploit.com/tools/'
arch=('any')
license=('custom:unknown')
depends=('python2')
source=('http://www.morxploit.com/morxtools/keyfmt')
sha512sums=('e1668926689bb3cde961152017af35fab98052488eaf4febe5ddbe0e8f12e8bf28936bb7d467161a97951db786783e432c1f456f002f7de559290164e5fd66ca')

prepare() {
  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' keyfmt
}

package() {
  install -Dm 755 keyfmt "$pkgdir/usr/bin/$pkgname"
}

